package innerclassDemo4;

public class Outer {

    private int a = 10;

   public void show(){
       int b =20;
       class Inner{
           private int c = 30;

           public void method1(){
               System.out.println("调用了局部内部类的method1方法");
               System.out.println(a);
               System.out.println(b);
           }
           public static void method2(){
               System.out.println("调用了局部内部类的静态method2方法");
           }
       }
       Inner inner = new Inner();
       inner.method1();
       Inner.method2();
   }
}
